package com.shycloud.mido.music.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.music.domain.MisMusicBanner;
import com.shycloud.mido.music.vo.MisMusicBannerVO;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MisMusicBannerMapper extends BaseMapper<MisMusicBanner> {

	List<Integer> getOptIdByCity(@Param("city") String city);

	IPage<MisMusicBannerVO> getAllBanners(@Param("page") Page page,
			@Param("categoryId") Integer categoryId, @Param("optId") Integer optId);
}